package com.aacar.dao;

import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.aacar.entity.Order;


public interface OrderDao {

	 int save(Order order);

	 int update(Order order);

	 Order getOrder(String orderNo);

	 int findNotCancelCount(Long userId);
	 
	 public Map findCouponByUserId(@Param("userId") String userId);//根据user_id查询是否有优惠券
	 
	 public Map findCouponByCarNo(@Param("carNo") String carNo);//根据car_no查询是否有优惠券，车牌号


}
